*Bryant, Hanmer, Safarpour, and McDonald (2020) Replication Code.

*use "Bryant_Hanmer_Safarpour_McDonald_2020_13.dta", clear

*Table 1.

	bysort wave: ta treatment5conds registration, missing

	bysort wave: ta treatment5conds turnout, missing


*Figures 1 and 2.
	
	*1. Figure 1. Voter Registration Rates by Wave. 
		*Unpooled estimates.
		**Report treatment effects from regression with region dummies.
		reg registration unpooled2 unpooled3 unpooled4 unpooled5 unpooled6 unpooled7 unpooled8 unpooled9 philly berks lehigh, cluster(hhid_full)
		**F-Test to show null differences between treatment groups (FN 10).
		test unpooled2= unpooled3= unpooled4= unpooled5= unpooled6= unpooled7= unpooled8= unpooled9

		*Pooled estimate.
		reg registration control_or_treat_allcases philly berks lehigh, cluster(hhid_full)

	*2. Figure 2. Voter Turnout Rates by Wave.

		*Unpooled estimates.
		**Report treatment effects from regression with region dummies.
		reg turnout unpooled2 unpooled3 unpooled4 unpooled5 unpooled6 unpooled7 unpooled8 unpooled9 philly berks lehigh, cluster(hhid_full)
		**F-Test to show null differences between treatment groups (FN 10).
		test unpooled2= unpooled3= unpooled4= unpooled5= unpooled6= unpooled7= unpooled8= unpooled9

		*Pooled estimate.
		reg turnout control_or_treat_allcases philly berks lehigh, cluster(hhid_full)

*Figure 3.

	*1. Registration (Left Panel).
	
		*1a.Obtain Point Estimates for Registration Effects.
		bysort age18to21: reg registration control_or_treat_allcases, cluster(hhid_full)

		*1b.Obtain CIs for 22+ registration estimates.

		reg registration i.control_or_treat_allcases if age18to21==0, cluster(hhid_full) 

		margins i.control_or_treat_allcases 

		*1c.Obtain CIs for 18 to 21 registration estimates.

		reg registration i.control_or_treat_allcases if age18to21==1, cluster(hhid_full) 

		margins i.control_or_treat_allcases 

	*2.Turnout (Right Panel).
		*2a.Obtain Point Estimates for Turnout Effects.
		bysort age18to21: reg turnout control_or_treat_allcases, cluster(hhid_full)

		*2b.Obtain CIs for 22+ turnout estimates.

		reg turnout i.control_or_treat_allcases if age18to21==0, cluster(hhid_full) 

		margins i.control_or_treat_allcases 

		*2c.Obtain CIs for 18 to 21 turnout estimates.

		reg turnout i.control_or_treat_allcases if age18to21==1, cluster(hhid_full) 

		margins i.control_or_treat_allcases 
		
	*3.Table Notes: Difference in differences between age groups.
		reg registration control_or_treat_allcases age18to21 age18to21Xtreated, cluster(hhid_full)
		reg turnout control_or_treat_allcases age18to21 age18to21Xtreated, cluster(hhid_full)

		
*Registration to Vote Yield.
		*1. Overall registration to vote yield-2SLS.
		ivreg turnout (registration = control_or_treat_allcases), cluster(hhid_full)
		*2. Figure 4. Results by Age.  
		bysort age18to21: ivreg turnout (registration = control_or_treat_allcases), cluster(hhid_full)

		
******APPENDIX******

*Table 1a. Voter Registration by Treatment, Wave, and Geographic Location.

	*1. Philly Registration

		reg registration control_or_treat_allcases if philly==1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg registration control_or_treat_allcases if philly==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg registration control_or_treat_allcases if philly==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Registration by card type ignoring Wave.
		reg registration treat1 treat2 treat3 treat4 if philly==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg registration treat1 treat2 treat3 treat4 if philly==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg registration treat1 treat2 treat3 treat4 if philly==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)


	*2. Lehigh Registration

		reg registration control_or_treat_allcases if lehigh==1, cluster(hhid_full)
			*N 
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg registration control_or_treat_allcases if lehigh==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg registration control_or_treat_allcases if lehigh==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Registration by card type ignoring Wave.
		reg registration treat1 treat2 treat3 treat4 if lehigh==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg registration treat1 treat2 treat3 treat4 if lehigh==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg registration treat1 treat2 treat3 treat4 if lehigh==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)


	*3. Berks Registration

		reg registration control_or_treat_allcases if berks==1, cluster(hhid_full)
			*N 
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg registration control_or_treat_allcases if berks==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg registration control_or_treat_allcases if berks==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Registration by card type ignoring Wave.
		reg registration treat1 treat2 treat3 treat4 if berks==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg registration treat1 treat2 treat3 treat4 if berks==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg registration treat1 treat2 treat3 treat4 if berks==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

	*4. Rest of State Registration

		reg registration control_or_treat_allcases if allbutblp==1, cluster(hhid_full)
			*N 
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg registration control_or_treat_allcases if allbutblp==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg registration control_or_treat_allcases if allbutblp==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Registration by card type ignoring Wave.
		reg registration treat1 treat2 treat3 treat4 if allbutblp==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg registration treat1 treat2 treat3 treat4 if allbutblp==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg registration treat1 treat2 treat3 treat4 if allbutblp==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)


*Table 1b. Voter Turnout by Treatment, Wave, and Geographic Location
	*5. Philly Turnout

		reg turnout control_or_treat_allcases if philly==1, cluster(hhid_full)
			*N 
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg turnout control_or_treat_allcases if philly==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg turnout control_or_treat_allcases if philly==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Turnout by card type ignoring Wave.
		reg turnout treat1 treat2 treat3 treat4 if philly==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg turnout treat1 treat2 treat3 treat4 if philly==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg turnout treat1 treat2 treat3 treat4 if philly==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

	*6. Lehigh Turnout

		reg turnout control_or_treat_allcases if lehigh==1, cluster(hhid_full)
			*N 
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg turnout control_or_treat_allcases if lehigh==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg turnout control_or_treat_allcases if lehigh==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Turnout by card type ignoring Wave.
		reg turnout treat1 treat2 treat3 treat4 if lehigh==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg turnout treat1 treat2 treat3 treat4 if lehigh==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg turnout treat1 treat2 treat3 treat4 if lehigh==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

	*7. Berks Turnout

		reg turnout control_or_treat_allcases if berks==1, cluster(hhid_full)
			*N 
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg turnout control_or_treat_allcases if berks==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg turnout control_or_treat_allcases if berks==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Turnout by card type ignoring Wave.
		reg turnout treat1 treat2 treat3 treat4 if berks==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg turnout treat1 treat2 treat3 treat4 if berks==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg turnout treat1 treat2 treat3 treat4 if berks==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

	*8. Rest of State Turnout

		reg turnout control_or_treat_allcases if allbutblp==1, cluster(hhid_full)
			*N 
			ta control_or_treat_allcases if e(sample)

		*Wave 1
		reg turnout control_or_treat_allcases if allbutblp==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Wave 2
		reg turnout control_or_treat_allcases if allbutblp==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta control_or_treat_allcases if e(sample)

		*Turnout by card type ignoring Wave.
		reg turnout treat1 treat2 treat3 treat4 if allbutblp==1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 1.
		reg turnout treat1 treat2 treat3 treat4 if allbutblp==1 & registeredbefore915~=1 & wave~=2, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

		*Wave 2.
		reg turnout treat1 treat2 treat3 treat4 if allbutblp==1 & registeredbefore927~=1 & wave~=1, cluster(hhid_full)
			*N
			ta treatment5conds if e(sample)

***APPENDIX AGE ANALYSIS***

*Appendix Table 2b. Registration and Turnout by Age Groups Treated vs. Control by Wave and Region.
*1. Age Analyses for Appendix: Registration and Turnout by Age Group, Region, and Wave.
	*1a. Philly Registration

		*1a1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age18to21==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & philly==1, cluster(hhid_full)

		*1a2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age22to25==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & philly==1, cluster(hhid_full)

		*1a3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age26to29==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & philly==1, cluster(hhid_full)

		*1a4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age30plus==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & philly==1, cluster(hhid_full)

		*1a5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age18to21==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & philly==1, cluster(hhid_full)

		*1a6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age22to25==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & philly==1, cluster(hhid_full)

		*1a7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age26to29==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & philly==1, cluster(hhid_full)

		*1a8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age30plus==1 & philly==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & philly==1, cluster(hhid_full)

	*1b. Philly Turnout

		*1b1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age18to21==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & philly==1, cluster(hhid_full)

		*1b2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age22to25==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & philly==1, cluster(hhid_full)

		*1b3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age26to29==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & philly==1, cluster(hhid_full)

		*1b4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age30plus==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & philly==1, cluster(hhid_full)

		*1b5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age18to21==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & philly==1, cluster(hhid_full)

		*1b6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age22to25==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & philly==1, cluster(hhid_full)

		*1b7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age26to29==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & philly==1, cluster(hhid_full)

		*1b8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age30plus==1 & philly==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & philly==1, cluster(hhid_full)

	*2a. Berks Registration

		*2a1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age18to21==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & berks==1, cluster(hhid_full)

		*2a2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age22to25==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & berks==1, cluster(hhid_full)

		*2a3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age26to29==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & berks==1, cluster(hhid_full)

		*2a4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age30plus==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & berks==1, cluster(hhid_full)

		*2a5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age18to21==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & berks==1, cluster(hhid_full)

		*2a6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age22to25==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & berks==1, cluster(hhid_full)

		*2a7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age26to29==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & berks==1, cluster(hhid_full)

		*2a8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age30plus==1 & berks==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & berks==1, cluster(hhid_full)

	*2b. Berks Turnout

		*2b1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age18to21==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & berks==1, cluster(hhid_full)

		*2b2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age22to25==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & berks==1, cluster(hhid_full)

		*2b3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age26to29==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & berks==1, cluster(hhid_full)

		*2b4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age30plus==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & berks==1, cluster(hhid_full)

		*2b5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age18to21==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & berks==1, cluster(hhid_full)

		*2b6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age22to25==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & berks==1, cluster(hhid_full)

		*2b7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age26to29==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & berks==1, cluster(hhid_full)

		*2b8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age30plus==1 & berks==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & berks==1, cluster(hhid_full)

	*3a. Lehigh Registration

		*3a1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age18to21==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & lehigh==1, cluster(hhid_full)

		*3a2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age22to25==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & lehigh==1, cluster(hhid_full)

		*3a3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age26to29==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & lehigh==1, cluster(hhid_full)

		*3a4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age30plus==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & lehigh==1, cluster(hhid_full)

		*3a5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age18to21==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & lehigh==1, cluster(hhid_full)

		*3a6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age22to25==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & lehigh==1, cluster(hhid_full)

		*3a7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age26to29==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & lehigh==1, cluster(hhid_full)

		*3a8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age30plus==1 & lehigh==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & lehigh==1, cluster(hhid_full)

	*3b. Lehigh Turnout

		*3b1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age18to21==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & lehigh==1, cluster(hhid_full)

		*3b2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age22to25==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & lehigh==1, cluster(hhid_full)

		*3b3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age26to29==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & lehigh==1, cluster(hhid_full)

		*3b4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age30plus==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & lehigh==1, cluster(hhid_full)

		*3b5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age18to21==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & lehigh==1, cluster(hhid_full)

		*3b6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age22to25==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & lehigh==1, cluster(hhid_full)

		*3b7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age26to29==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & lehigh==1, cluster(hhid_full)

		*3b8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age30plus==1 & lehigh==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & lehigh==1, cluster(hhid_full)

	*4a. Rest of State Registration

		*4a1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age18to21==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & allbutblp==1, cluster(hhid_full)

		*4a2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age22to25==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & allbutblp==1, cluster(hhid_full)

		*4a3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age26to29==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & allbutblp==1, cluster(hhid_full)

		*4a4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore915~=1 & wave~=2 & age30plus==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & allbutblp==1, cluster(hhid_full)

		*4a5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age18to21==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & allbutblp==1, cluster(hhid_full)

		*4a6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age22to25==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & allbutblp==1, cluster(hhid_full)

		*4a7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age26to29==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & allbutblp==1, cluster(hhid_full)

		*4a8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum registration if registeredbefore927~=1 & wave~=1 & age30plus==1 & allbutblp==1

		reg registration control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & allbutblp==1, cluster(hhid_full)

	*4b. Rest of State Turnout

		*4b1. Wave 1 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age18to21==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age18to21==1 & allbutblp==1, cluster(hhid_full)

		*4b2. Wave 1 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age22to25==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age22to25==1 & allbutblp==1, cluster(hhid_full)

		*4b3. Wave 1 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age26to29==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age26to29==1 & allbutblp==1, cluster(hhid_full)

		*4b4. Wave 1 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore915~=1 & wave~=2 & age30plus==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore915~=1 & wave~=2 & age30plus==1 & allbutblp==1, cluster(hhid_full)

		*4b5. Wave 2 - Age 18-21
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age18to21==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age18to21==1 & allbutblp==1, cluster(hhid_full)

		*4b6. Wave 2 - Age 22-25
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age22to25==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age22to25==1 & allbutblp==1, cluster(hhid_full)

		*4b7. Wave 2 - Age 26-29
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age26to29==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age26to29==1 & allbutblp==1, cluster(hhid_full)

		*4b8. Wave 2 - Age 30+
		bysort control_or_treat_allcases: sum turnout if registeredbefore927~=1 & wave~=1 & age30plus==1 & allbutblp==1

		reg turnout control_or_treat_allcases if registeredbefore927~=1 & wave~=1 & age30plus==1 & allbutblp==1, cluster(hhid_full)

***Appendix Partisan Analysis***
*Table 3: Partisan Composition of New Registrants by Treatment or Control.
bysort control_or_treat_allcases: ta registration party3cats, r

**Two sample test of proportions.
	*[n rate n rate]
	*proportion of registrants who were republican in control vs treatment.
	prtesti 3625 .4147 80440 .4238 

	*Democrats.
	prtesti 2972 .34 64672 .3408
	
	*Other Party.
	prtesti 2144 .2453 44673 .2354
